const { Model } = require('sequelize')
const courseSchema = require('./courseSchema')
const sequelize = require('../../common/sequelize')


class Course extends Model {

}

Course.init(courseSchema, {
  sequelize,
  timestamps: true,
  updatedAt: false,
  modelName: 'Course',
  tableName: 'courses'
})

module.exports = Course